/**
 * Class:	Settings
 * 
 * Variables:
 * 
 * 		private static String hostURL;
 * 		private static String user;
 * 		private static String password;
 * 
 * Remarks:
 * 
 * 		Variables are set to private and can be accessed
 * 		only through their getters and setters.
 * 
 * @author ( Sharmaine Lim )
 * @version ( 2013-02-28 // YYYY-MM-DD )
 */

package preferences;

public class ConnectionSettings {
	
	/* Instance Variables */
	private static String hostURL;
	private static String user;
	private static String password;
	
	
	
	/**
	 * Constructors
	 */
	
	public ConnectionSettings( String newHostURL, String newUser, String newPassword ) {
		hostURL = newHostURL;
		user = newUser;
		password = newPassword;
	}
	
	public ConnectionSettings() {
		
	}
	
	
	
	/**
	 * Getters
	 */
	
	public String getHostURL() {
		return hostURL;
	}
	
	public String getUser() {
		return user;
	}
	
	public String getPassword() {
		return password;
	}
	
	
	
	/**
	 * Setters
	 */
	
	public void setHostURL( String newHostURL ) {
		hostURL = newHostURL;
	}
	
	public void setUser( String newUser ) {
		user = newUser;
	}
	
	public void setPassword( String newPassword ) {
		password = newPassword;
	}
}
